using System;
using System.Collections.Generic;
using System.Text;
using GRE.Logics;
using System.Data;
using Microsoft.ApplicationBlocks.Data;
using GRE.Framework;

namespace GRE.DataAccess
{
    public class DataAccessEngine
    {
        public static AllWords DictionaryWords = null;
        static DataAccessEngine()
        {
            try
            {
                DictionaryWords = XMLHelper.DeserializeFromFile();
            }
            catch
            {
                DictionaryWords = new AllWords();
                DictionaryWords.List = new List<AWord>();
            }
        }
    }
}
